package com.ruoyi.web.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ApiModel("监控摄像头VO")
public class MonitorCameraVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long baseId;

    @ApiModelProperty("摄像头名称")
    private String baseName;

    @ApiModelProperty("设备ID/序列号")
    private String deviceId;

    @ApiModelProperty("设备型号")
    private String deviceType;

    @ApiModelProperty("安装位置ID")
    private Long areaId;

    @ApiModelProperty("安装位置名称")
    private String areaName;

    @ApiModelProperty("IP地址")
    private String ipAddr;

    @ApiModelProperty("访问端口号")
    private String accessPort;

    @ApiModelProperty("访问密码")
    private String accessPassword;

    @ApiModelProperty("传输协议")
    private String transferProtocol;

    @ApiModelProperty("创建者")
    private Long creator;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private Long modifier;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty("播流域名")
    private String domain;
    private String appName;
    private String streamName;
    @ApiModelProperty("摄像机状态 online在线   offline离线")
    private String cameraStatus;
}
